
package com.hi.cdi.versioning.domain;

import java.util.Date;
import org.springframework.data.mongodb.core.mapping.Document;
 
privileged aspect Record_History_Fields{
	
	declare @type : Record_History:@Document(collection="record_history");
	
	private long Record_History.revisionId;
	
	private Date Record_History.when; 
	
	private Record Record_History.record;
	
	public long Record_History.getRevisionId(){
		return this.revisionId;
	}

	public void Record_History.setRevisionId(long revisionId){
		this.revisionId = revisionId;
	}
	
	public Date Record_History.getWhen(){
		return this.when;
	}

	public void Record_History.setWhen(Date when){
		this.when = when;
	}
	
	public Record Record_History.getRecord(){
		return this.record;
	}
	
	public void Record_History.setRecord(Record record){
		this.record = record;
	}
	
}
